module.exports.success = function(res, data) {
    res.json({
        "status": 0,
        "data": data
    });
}
module.exports.fail = function(res, code, message) {
    res.json({
        "status": 1,
        "error": {
            "code": code,
            "message": message
        }
    });
}